sketched more dummy code and fixed some things