Added method body to onExecute