finished coding but need to resolve annoying dependency struggs