added some basic code and test