Small modification to allow source reading