add number and function docs