could not condense code