remove setLayout -- need better approach