danny_core rewrite