Added ability to handle dynamic sized int