changed some type check to isPassable()