Basic functions now working.