updated int to float for cards