finished copying code from site