nevermind, won't work due to the extra arguments passed with foreach