making a devise