Creating quality gates