added code logic for new biofeedback component