remove trivial function