testing script for learning