test constraints
deprecate unnecessary methods