initial code for demo