begin calculate methods