Added some functions to support AI in the future