this works as specified.