fixed logic solution