added copyright headers where missing