main script for practice