add problem 27, needs optimization