added getter for accessing signal variable