this snippet is now defined twice?