All these methods have some lines in common, can you factor those out?