Added longValue method