made layouts work