added conditional class