Add some function in Digital Logic class