simple scatter into its own function