sometimes it freezes whtn open is empty, but mainly works