unneccessary code removed. method chaining added.