initial code and test app