BFPAWN Clean and rewritten