added some useful comments