adding display card functionality