added option to set available card types