checking citation type