checing temp array