Changed order of Double and Long variables