eliminating extraneous code and working on getting chat to push