Make lines more dynamic