removed trivial function