Added licence header, removed debug line