using the correct layout