implemented getting current position for the card