Pull logic processing methods out