seting up basic devise