now this is how its done
FINALLY DONE JUST TEST CASE AND VALGRIND THIS SHIT