added functions for discards to player