working scalar config