first version of ribbon setup, not perfect