added tereny statement