changed movement to contionuous type