started working on calculating interest