added option to just get types