working version of A1