fixing my shaddy code