Standard module with common routines