added singlecompile