make a lovebar function