The present invention provides compounds of formula Ihaving BACE1 and/or BACE2 inhibitory activity, their manufacture, pharmaceutical compositions containing them and their use as therapeutically active substances. The active compounds of the present invention are useful in the therapeutic and/or prophylactic treatment of e.g. Alzheimers disease and type 2 diabetes. The invention further provides a radio-labelled derivative thereof.