practice stuff using modules and magic fxns