Identifying the errors

Initial test Code used earlier