adding symbol logic