some unitfunctions added