Updated MovesStack implementation