added boolean enum
logging support
minor changes