using layout of the application