remove general purpose function, as it will be in another snippet