aadding haiku logic