add GetInt Method