various learning scripts