lowercase when `as`ing
add configurable logging