added crouching and file exceptions