adding changes to scatter for ordinal functionality