implemented(?) back button and fixed double precision