base deck functionality