Added concept of available moves