changed the main form, implemented the int status