Based on Ray wenderlich project..