added copyright notice in headers