Added complete setup of device