First rought version of working map