Added snippet, and prep for sneding data to BE

Needs cleaning up.