applied new require and advanced syntax to constraints (except on applyConstraints definition)