decided to make another wrapper function