nearly done with sample one

nearly done with initial version