added binary storing