render the right layout yo