Working code without comments