Working version, however cannot be build out of source
Working build out of source