Added id option

should have put in there at the start really