Provided is a tryptophan-2,3-dioxygenase (TDO) and/or indoleamine-2,3-dioxygenase (IDO) inhibitor compound for use in medicine, which compound comprises the following formula:wherein X2, X4, X10, and X11 may be the same or different and each is independently selected from C and N; X1, X3, X5, X6, X7, X8, and X9 may be the same or different and each is independently selected from C, N and O; each bond having a dotted line may independently be a double bond or a single bond, provided that valencies at each atom are maintained; the dotted lines joining X4 with the carbon atoms either side of X2 are single bonds, and are only present when X2 is absent, X3 is absent and X4 is C, and when these bonds are present the ring carbons on each side of X2 are not directly bonded to each other; each R1 may be present or absent and may be the same or different and is selected from H and a substituted or unsubstituted organic group, provided that the number of R1 groups present is such that the valency of X1 is maintained; each R12, R13, R13′, R14, R15 and R15′ may be present or absent and may be the same or different and each is independently selected from H and a substituted or unsubstituted organic group, provided that the number of such R groups present is such that the valency of the ring carbon atoms is maintained; R16 may be present or absent and is selected from H and a substituted or unsubstituted organic group, provided that the number of R16 groups present is such that the valency of X2 is maintained; each R17 may be present or absent and may be the same or different and is independently selected from H and a substituted or unsubstituted organic group, provided that the number of R17 groups present is such that the valency of X3 is maintained; each R2, R3, R4, and R5 may be present or absent and may be the same or different and is selected from H and a substituted or unsubstituted organic group, provided that the number of such R groups present is such that the valencie