Add return to ai methods