work on gl slots
testing slot function