extracted layout into seperate file