finished a12 script