refactored app_contr, got rid of show button