Added functionality for signed numbers