ghetto ps processing. more pro way later