Adding function book