first attempt - unsure about origin method