updated SO to get the elements id's working