Xamrina class Replacement