Modified entity.standing example code.