gs
got all functions working