complete Assign and Release methods
add assign/release code