implement an method checkio