Added comments for callbacks