starting to add original code in