implemented operations parsing for both either cards or accounts