double not working, did boxing and logOr