Compiling correctly after added pixel selection code.