Added inline to staus helper functions and added array delete