created model and added temporary arraylist of members