creating card in sep thread