Made changes to mark analysis