add changes related to custom array adapter