implemented UnderFlowException
implemented stack