Added prefix support, renamed multiply function