add threes solutions. improve two solutions