the only difference i see is line 9 and 27. is it not easy to write something inline just for that difference?