added picture functionallities