code tends to be finished, need to write docmuent now