some idiocy removed, might be working again