buggy problems
still buggy
removed troublesome avatar code