finished with all functions
group id bug fixed