Use long() for ID's, not int()