fixes #36
adding flags