added some commentation