added method isAllowed to movement
merge dev