adding debugging options