fixed compile() return type