change lots for porting to arduino