Add comments, fix binding of topd