Added multiple pin support

Signed-off-by: shyeon.kim <kimseo@kth.se>