Added get_second() function