added 2 more attributes to first and created a function since there needs to be 2