need to make function work still, is cleaned up now