adding setup and loop