pdf for reference lots of funcs explained.