Experimenting with some main logic