adding basic logic so I don't forget