python callable object with parameters