updated instructions and migrated code over