setting up scheme