Added profilecheck and optimized Helper classes