working tex locally but not on ideone -_-