use translate for input
testing BSA codes