implement @joefortier's genius suggestion