design pictureloc changed to integer, validated uniqueness of location