cleaned up arrays