adding buying sweets solution