intial devise setup