long and lst are now received as doubles