Final check in Phase1
Test cases included