added pedestal calculator