don't need two almost identical functions

Besides it just adds to the confusion