trying to make it app agnostic