selected class now removed locally - resolves #7