reviewed code final