couldn't figure out how to make it as parameter