controller formated