controllers
added better error bindind