added available moves function