works standard test cases and author added