added a method to bind values with a specified function applied and updated unit tests