added shark compatibility