Converted old app to longs.