added method to call any function by name