Pulled out callbacks and named them. Thanks @liamgriffiths :)