added func for custom instruments