second commit just done a little part of AI have to improvise it