scaling and minimap added