update to latest spec
updated code