splitting up for debugging