Most functions work now