changed alice calculations