added condition into reader

added condition into struct

added condition into all

added condition into libc