removed unnecessary callback
added return statement
added single spaces around operators
corrected indentation