some prototype which is working in IDE