alternate 072
072 inefficient solution