removed binary mode