more docuementation. renamed some stuff