lab script for search class