added task to goal