Added pw, dt ifc, ud, cls and exit functions