adding some constraints