Updating to work on lpc