fixed coin flip & started on objects optimizing