push before working on socket io fn