Build some useful function as frame to resuse later.