finished logic and basic css