finished everything for prototype