Revert "#21 Used appropriate flag representation"

This reverts commit 9932f0dafdf62e65b469df978437344223640bbb.