layout for task refactor