refactored the code to use the new readstatusmanager constructor which has less arguments