added devices, with has many relationship