start from scratch to create OOJS logic