adds star-flag feature
adds tests