make class,add ui