Removed appendToLong as it was never used