add function to find out what stuff is, as js is shit for that