There needs to be a less ghetto way than this