adding read sig logic