updates to origin val type checking