internal code in goalsAdd and goalsView works now