added setters for #first and #last