Change the returned object to Element