changed to work on nas