couple of functions implemented...