working initial calculator