woring on checkResult
get rid of swap