Updated code with correct settings to be used. Instead of Id used Class.