implemented for windows phone