scripts for methods written