Working version, pushes messages to head and responds