added functionality of compliance