fixed #4 add boolean