changed tons of shit to be compaqtible with phoenix
works