added bin and res