static method in handy
to generate