get integers working