kernel merged
extra kernel functions removed
kernel  modified... + minor changes