Trying to implement hide event for assignment.