setting up the system