added help, error handling for base writter