this function should be private 

```js
function getPictureType() 
```