core functions like pixel_perfection