should this function be on the class instead of the instance?