Implemented callbacks as a way to get values