implementing () way of new lines. thanks @elyezer