added notecard functionality