added copyright header to source code