added resource() to function list section