cleaned up FPGA