modified interview blog's answer