Added array actions and some debug actions