Intellectual property IP protection Trademark distinguished feature Copyright actual text of the code Who owns the code Code written at work owned by employer Employment contract