using modern graphix library