setting up constraints