more work on A star