printing form in console