changes function to call api :: balmer peak