Added constructor and changed value to long