added a method bymaker

Signed-off-by: Jinggit <jingghster@gmail.com>