working for ideone