Making it actually functional (sorta)