still not working properly, but i need to do other assignments...