Added get_first and remove_first
fixed errors