Added check for walk