about to give N48 another go
still need to bring back read_pareamters but seems to be working