Try function from controller