started copying code from first to second pg