introduce functions to analysis