added new file with fixed bug, optimised code. no new functions. have comments to fix.