removing duplication between app and task container