cleanup & docs