add implementation getint