updated code attribution