This function should not be static